package com.axc.gallery2.edit.activity;

import com.axc.gallery2.function.ISaveBitmap;

//实现接口
public class RenderAdapter { 
	ISetViewMenu view=null;
	ISaveBitmap save=null;
	/**
	 * 修改画笔
	 * 
	 * @param spaint
	 *            画笔
	 * @param color
	 *            画笔颜色
	 */
	public void setInnerCOlor(ISetViewMenu viewMenu, int color) {
		view = viewMenu;
		view.setInnerColor(color);
	}

	/**
	 * ]
	 * @param viewMenu
	 * @param color
	 */
	public void setOutColor(ISetViewMenu viewMenu, int color) {
		view = viewMenu;
		view.setOutColor(color);
	}

	/**
	 * 
	 * @param viewMenu
	 * @param circleWidth
	 */
	public void setCircleRadius(ISetViewMenu viewMenu, int circleWidth) {
		view = viewMenu;
		view.setCircleRadius(circleWidth);
	}
	/**
	 * 
	 * @param innerColor
	 * @param outterColor
	 */
	public void ChangeInOutColor(ISetViewMenu viewMenu){
		view = viewMenu;
		view.ChangeInOutColor();
	}
	public void SaveChange(ISaveBitmap iSaveBitmap){
		save=iSaveBitmap;
		save.Save();
	}
	public void Reset(ISaveBitmap iSaveBitmap){
		save=iSaveBitmap;
		save.Reset();
	}
}
